package com.diandi.signature.mapper;


import com.diandi.signature.bean.cainfo.SignatureCAInfo;
import com.diandi.signature.bean.passinfo.SignaturePassInfo;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * CA认证实体类Mapper接口
 * @author mwz
 * @create 2017-08-23 14:03
 * @version V1.0.0
 */
@Repository
public interface SignatureCAInfoMapper {

    /**
     * 根据CA客户编码得到CA信息
     * @param paramMap
     * @return
     */
    public SignatureCAInfo getSignatureCAInfoByCode(Map<String, Object> paramMap);

    /**
     * 插入CA信息
     * @param signatureCAInfo
     * @return
     */
    public Integer insertCAInfo(SignatureCAInfo signatureCAInfo);

    /**
     * 更新CA信息
     * @param signatureCAInfo
     * @return
     */
    public Integer updateCAInfo(SignatureCAInfo signatureCAInfo);

    Integer updateCustomerIdAndStatus(Map<String, Object> paramMap);

    List<SignatureCAInfo> queryList(Map<String, Object> paramMap);

    Integer queryCount(Map<String, Object> paramMap);
}
